﻿using BCDto.WeChatComponent.WeChatMediaRecord;
using BCDto.WeChatComponent.WeChatMessagePushResultVerificationRecord;
using BCDto.WeChatComponent.WeChatNewsMaterialArticleRecord;
using System;
using System.Collections.Generic;
using System.Text;

namespace BCDto.WeChatComponent.WeChatMessagePushRecord
{
    /// <summary>
    /// 微信群发记录
    /// </summary>
    public class WeChatMessagePushRecordDto
    {
        /// <summary>
        /// 微信素材Id
        /// </summary>
        public string MediaId { get; set; }
        /// <summary>
        /// 群发Id
        /// </summary>
        public long MsgId { get; set; }
        /// <summary>
        /// 群发图文，分析接口中需要
        /// </summary>
        public long? MsgDataId { get; set; }
        /// <summary>
        /// 是否预览
        /// </summary>
        public bool IsPreview { get; set; }
        /// <summary>
        /// 群发状态
        /// </summary>
        public string MsgStatus { get; set; }
        /// <summary>
        /// 自定义消息id
        /// </summary>
        public string Clientmsgid { get; set; }
        /// <summary>
        /// 群发速度级别
        /// </summary>
        public int? Speed { get; set; }
        /// <summary>
        /// 群发速度真实值
        /// </summary>
        public int? Realspeed { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 群发总数
        /// </summary>
        public long? TotalCount { get; set; }
        /// <summary>
        /// 过滤后总数
        /// </summary>
        public long? FilterCount { get; set; }
        /// <summary>
        /// 发送成功的粉丝数
        /// </summary>
        public long? SentCount { get; set; }
        /// <summary>
        /// 发送失败的粉丝数
        /// </summary>
        public long? ErrorCount { get; set; }
        /// <summary>
        /// 整体效验结果
        /// 1-未被判为转载，可以群发，
        /// 2-被判为转载，可以群发，
        /// 3-被判为转载，不能群发
        /// </summary>
        public int? CheckState { get; set; }
        /// <summary>
        /// 推送的文本内容
        /// </summary>
        public string Content { get; set; }
        /// <summary>
        /// 微信素材记录
        /// </summary>
        public WeChatMediaRecordDto WeChatMediaRecord { get; set; }
        /// <summary>
        /// 微信群发图文原创检测结果
        /// </summary>
        public IEnumerable<WeChatMessagePushResultVerificationRecordDto> WeChatMessagePushResultVerificationRecords { get; set; }
    }
}
